home *** CD-ROM | disk | FTP | other *** search
- Path: news.ee.vill.edu!news
- From: sheridan@monet.vill.edu
- Newsgroups: comp.lang.c++
- Subject: Re: Pure virtual destructors?
- Date: 16 Apr 1996 13:50:59 GMT
- Organization: Villanova University
- Message-ID: <4l08k3$6f0@ftp.ee.vill.edu>
- References: <4kuq0i$p6t@ftp.ee.vill.edu> <4kvsvb$bf@werple.net.au>
- NNTP-Posting-Host: 153.104.7.179
-
- In article <4kvsvb$bf@werple.net.au>, David White <davidw@werple.net.au> wrote:
- >sheridan@monet.vill.edu writes:
- >
- [snip]
- >>a compiler bug, so what am I missing?
- >
- >
- >When a virtual function is declared pure, it doesn't necessarily mean that
- >the class doesn't implement the function, it means only that some derived
- >class must implement it. You are free to provide an implementation for any
- >pure virtual function. In the case of virtual destructors, you have to
- >provide an implementation whether you declare it pure or not.
- >
- >David White
- >davidw@werple.mira.net.au
- >
-
- Well, that's the piece of information I was missing. Thanks for all private
- and public replies.
-
- Pete Sheridan
-
-
-